Give\DonationForms\Repositories\DonationFormRepository S

Total Complexity 44
Dependencies 19
Dependents 10
Total lines 486
Lines of code 282
Logical lines of code 116
Comment lines 101
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
insert()
S
43 5 53
getEnabledPaymentGateways()
S
54 7 21
getFormSchemaFromBlocks()
S
50 6 29
update()
S
46 3 43
getGatewayFormSettings()
S
58 3 16
delete()
S
56 2 19
getFormDataGateways()
S
58 2 15
validateProperties()
S
68 3 7
getTotalRevenue()
S
63 2 11
prepareQuery()
S
56 1 19
getDefaultEnabledGatewayId()
S
74 2 4
getTotalNumberOfDonors()
S
64 1 11
getById()
S
74 1 5
getTotalNumberOfDonorsFromSubscriptions()
S
73 1 5
getTotalNumberOfDonations()
S
69 1 7
getTotalNumberOfSubscriptions()
S
74 1 5
getTotalInitialAmountFromSubscriptions()
S
73 1 5
isLegacyForm()
S
74 1 4
__construct()
S
81 1 3